package com.bye.dto;

import ch.qos.logback.core.rolling.helper.IntegerTokenConverter;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("product_category")
public class ProductCategoryDto {

    @TableId(type = IdType.AUTO)
    private Integer id;
    // 分类名称
    private String categoryName;
    // 分类排序
    private Integer categorySort;
    // 是否开启
    private String isEnabled;
    // 添加时间
    private Date addTime;


    //分页
    @TableField(exist = false)
    private Integer currentPage;
    @TableField(exist = false)
    private Integer pageSize;

}
